# Maintainer: Campbell Jones <serebit at archlinux dot org>

pkgname=budgie-backgrounds
pkgver="2.0"
pkgrel=1
pkgdesc="The default background set for the Budgie Desktop"
arch=(any)
url="https://github.com/BuddiesOfBudgie/budgie-backgrounds"
license=("custom:CC0-1.0")
groups=("budgie")
depends=()
makedepends=(meson imagemagick jhead)
source=("https://github.com/BuddiesOfBudgie/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.xz"{,.asc})
b2sums=("a63c05aeae2410dbaac78265df6523a7632db7aa78498c145570275bd096d827a2f765e05da507d2b801b6fdd79607f06d34b6f612c089d10114c66bcbe46fbc"
        "SKIP")
validpgpkeys=("8A59B135826B2DA453B9707408AD7343E6BD4B56") # Campbell Jones (Git) <git at serebit dot com>

build() {
	arch-meson "$pkgname-$pkgver" build
    meson compile -C build
}

package() {
	meson install -C build --destdir "$pkgdir"

	install -Dm 00644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 
}
